package com.manager.zq.service.Impl;

import com.manager.zq.mapper.CusIdDao;
import com.manager.zq.service.getCusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class getCusImpl implements getCusService {

    @Autowired
    private CusIdDao cusIdDao;

    @Override
    public Integer[] getCusBySellerId(Integer sellerId) {
        return cusIdDao.getCusIdBySeller(sellerId);
    }

    @Override
    public Integer[] getNewCus() {
        return cusIdDao.getNewCus();
    }
}
